Skip to content

Fix: Ensure helpfulSearchDiv hides consistently on context menu#4276

Merged
walterbender merged 1 commit intosugarlabs:masterfrom
BeNikk:fix/hide-helpful-search
Jan 15, 2025
Merged

Fix: Ensure helpfulSearchDiv hides consistently on context menu#4276
walterbender merged 1 commit intosugarlabs:masterfrom
BeNikk:fix/hide-helpful-search

Conversation

@BeNikk
Copy link
Contributor

@BeNikk BeNikk commented Jan 15, 2025

Description

Fixes #4275

What does this PR do?

This pull request fixes an issue where the helpfulSearchDiv widget does not hide consistently when the context menu is triggered on the canvas. This ensures a cleaner UI and a better user experience.

Key changes

Added a check while opening do context menu to ensure if the helpfulSearchWidget is on, it closes before opening the menu, the method being already defined as _hideHelpfulSearchDiv

###Screenshots
Screencast from 15-01-25 03:05:23 PM IST.webm

special thanks @haroon10725 and @walterbender for pointing out the bug

@walterbender walterbender merged commit 8f4d55b into sugarlabs:master Jan 15, 2025
4 checks passed
Ubayed-Bin-Sufian pushed a commit to Ubayed-Bin-Sufian/musicblocks that referenced this pull request Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HelpfulSearchDiv Does Not Hide Consistently When Context Menu is Triggered on Canvas

2 participants